package txt2mysql;

import java.util.ArrayList;
import java.util.List;

public class Test {


    public static void main(String[] args) {
        String date="2019-02-18";
        String path="src/main/resources/test1.txt";
        //String path="src/main/resources/test.txt";
        List<String> column = new ArrayList<>();
        column.add("step");
        column.add("uuid");
        new Txt2MySQL1().Data2MySQL(path,column,date);
    }

    public static void main1(String[] args) {
        String date="2019-01-03";
        String path="src/main/resources/a8.info.dkmol.com.access.log-20190103.txt";
        //String path="src/main/resources/test.txt";
        List<String> column = new ArrayList<>();
        column.add("os");
        column.add("channel");
        column.add("imei");
        column.add("version");
        column.add("StartGame");
        column.add("Login");
        column.add("PatcherDownLoadError");
        column.add("reconnect");
        /*column.add("url");
        column.add("SDKCallGame|text");*/
        new Txt2MySQL().Data2MySQL(path,column,date);
    }

}
